package com.scott.ch02.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;
public class ScottSelector implements ImportSelector {

    /*
     * 方法描述:
     * @author: 黄后林
     * @date: 2021/11/21 23:12
     * @params: [importingClassMetadata]
     * @returns:java.lang.String[]
     */
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{"com.scott.ch02.bean.Student","com.scott.ch02.bean.Teacher"};
    }

}
